package org.ourguy.mymoviesandshows.datamodel;

import java.sql.Date;
import java.util.ArrayList;

/**
 * @deprecated USE {@link Series} !!!
 */
public class Show {
	private String _title;
	private String _overview;
	private int _year;
	private int _runtime;
	private String _network;
	private String _day;
	private String _airTime;
	private short _rating;
	private Date _firsAired;
	private ArrayList<Season> _seasons;
	
	/**
	 * @deprecated DO NOT USE THIS OBJECT. Use {@link Series} instead!
	 */
	public Show(String title) {
		this._title = title;
		this._overview = null;
		this._year = 0;
		this._runtime = 0;
		this._network = null;
		this._day = null;
		this._airTime = null;
		this._rating = 0;
		this._firsAired = null;
		this._seasons = null;
	}

	public String get_title() {
		return _title;
	}

	public void set_title(String _title) {
		this._title = _title;
	}

	public String get_overview() {
		return _overview;
	}

	public void set_overview(String _overview) {
		this._overview = _overview;
	}

	public int get_year() {
		return _year;
	}

	public void set_year(int _year) {
		this._year = _year;
	}

	public int get_runtime() {
		return _runtime;
	}

	public void set_runtime(int _runtime) {
		this._runtime = _runtime;
	}

	public String get_network() {
		return _network;
	}

	public void set_network(String _network) {
		this._network = _network;
	}

	public String get_day() {
		return _day;
	}

	public void set_day(String _day) {
		this._day = _day;
	}

	public String get_airTime() {
		return _airTime;
	}

	public void set_airTime(String _airTime) {
		this._airTime = _airTime;
	}

	public short get_rating() {
		return _rating;
	}

	public void set_rating(short _rating) {
		this._rating = _rating;
	}

	public Date get_firsAired() {
		return _firsAired;
	}

	public void set_firsAired(long firstAired) {
		this._firsAired = new Date(firstAired*1000);
	}	

	public ArrayList<Season> get_seasons() {
		return _seasons;
	}

	public void set_seasons(ArrayList<Season> _seasons) {
		this._seasons = _seasons;
	}
	

}
